package com.jz.community.moduleexpress.express.ui;

import android.content.Intent;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.Switch;
import android.widget.TextView;

import com.jz.community.basecomm.base.BaseMvpActivity;
import com.jz.community.basecomm.mvp.BaseMvpPresenter;
import com.jz.community.basecomm.utils.SHelper;
import com.jz.community.moduleexpress.R;
import com.jz.community.moduleexpress.R2;

import butterknife.BindView;

/**
 * Created by Tony.Fan on 2018/7/31 09:56
 */
public class ExpressSubmitActivity extends BaseMvpActivity {

    @BindView(R2.id.title_back_left)
    ImageView titleBackLeft;
    @BindView(R2.id.title_name)
    TextView titleName;
    @BindView(R2.id.title_right)
    TextView titleRight;
    @BindView(R2.id.title_right_iv)
    ImageView titleRightIv;
    @BindView(R2.id.title_toolbar)
    Toolbar titleToolbar;
    @BindView(R2.id.store_logo)
    ImageView storeLogo;
    @BindView(R2.id.to_post_choose)
    ImageView toPostChoose;
    @BindView(R2.id.textView2)
    TextView textView2;
    @BindView(R2.id.nearby_store)
    TextView nearbyStore;
    @BindView(R2.id.nearby_store_address)
    TextView nearbyStoreAddress;
    @BindView(R2.id.linearLayout)
    LinearLayout linearLayout;
    @BindView(R2.id.sender_message)
    TextView senderMessage;
    @BindView(R2.id.senderInfo_textView)
    LinearLayout senderInfoTextView;
    @BindView(R2.id.to_choose_address)
    TextView toChooseAddress;
    @BindView(R2.id.user_name_express_senderNoInfo)
    TextView userNameExpressSenderNoInfo;
    @BindView(R2.id.user_tel_express_senderNoInfo)
    TextView userTelExpressSenderNoInfo;
    @BindView(R2.id.user_address_express_senderNoInfo)
    TextView userAddressExpressSenderNoInfo;
    @BindView(R2.id.senderInfo_textView_no)
    LinearLayout senderInfoTextViewNo;
    @BindView(R2.id.to_choose_address_no)
    TextView toChooseAddressNo;
    @BindView(R2.id.recipient_message)
    TextView recipientMessage;
    @BindView(R2.id.recipientInfo_linearLayout)
    LinearLayout recipientInfoLinearLayout;
    @BindView(R2.id.to_post_choose_recipient)
    TextView toPostChooseRecipient;
    @BindView(R2.id.user_name_express_recipientInfo)
    TextView userNameExpressRecipientInfo;
    @BindView(R2.id.user_tel_express_recipientInfo)
    TextView userTelExpressRecipientInfo;
    @BindView(R2.id.user_address_express_recipientInfo)
    TextView userAddressExpressRecipientInfo;
    @BindView(R2.id.recipientInfo_no_linearLayout)
    LinearLayout recipientInfoNoLinearLayout;
    @BindView(R2.id.to_post_choose_recipient_no)
    TextView toPostChooseRecipientNo;
    @BindView(R2.id.address_message)
    LinearLayout addressMessage;
    @BindView(R2.id.textView)
    TextView textView;
    @BindView(R2.id.select_express_company_textView)
    TextView selectExpressCompanyTextView;
    @BindView(R2.id.to_express_choose)
    ImageView toExpressChoose;
    @BindView(R2.id.tx_title)
    TextView txTitle;
    @BindView(R2.id.tx_content)
    TextView txContent;
    @BindView(R2.id.mIv_go)
    ImageView mIvGo;
    @BindView(R2.id.type_choose)
    LinearLayout typeChoose;
    @BindView(R2.id.add_idCard_Number)
    EditText addIdCardNumber;
    @BindView(R2.id.delete_id_number_logo)
    ImageView deleteIdNumberLogo;
    @BindView(R2.id.switch_is)
    Switch switchIs;
    @BindView(R2.id.commit_order)
    TextView commitOrder;
    @BindView(R2.id.only_one_textView)
    TextView onlyOneTextView;
    @BindView(R2.id.ExpressProtocol_checkbox)
    CheckBox ExpressProtocolCheckbox;
    @BindView(R2.id.express_protocols)
    TextView expressProtocols;
    @BindView(R2.id.linearLayout4)
    LinearLayout linearLayout4;

    @Override
    protected int getContentView() {
        return R.layout.module_express_activity_express_submit_send_new;
    }

    @Override
    protected void initView() {
        super.initView();
        setImmersionBar(titleToolbar);
        titleName.setText("我要寄件");
        titleRight.setText("寄件记录");
        SHelper.vis(titleRight);
    }

    @Override
    protected void addListener() {
        super.addListener();
        titleBackLeft.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        titleRight.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(new Intent(ExpressSubmitActivity.this,ExpressHistoryActivity.class));
            }
        });
    }

    @Override
    protected void initDatas() {
        super.initDatas();
    }

    @Override
    protected BaseMvpPresenter createPresenter() {
        return null;
    }

}
